package com.usefullc.blog.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.usefullc.system.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 文章分享实体
 * @author: 星空
 * @date: 2022-07-12
 */
@ApiModel("文章分享")
@TableName("blog_article_share")
@Data
public class ArticleShare extends BaseEntity {

//useful_auto_generate_section_start

    @ApiModelProperty(notes = "文章")
    @TableField(value="`articleId`")
    private Long articleId;

    @ApiModelProperty(notes = "分享用户")
    @TableField(value="`userId`")
    private Long userId;

    @ApiModelProperty(notes = "分享链接")
    @TableField(value="`url`")
    private String url;

    @ApiModelProperty(notes = "阅读数")
    @TableField(value="`readNum`")
    private Integer readNum;


//useful_auto_generate_section_end

}
